package com.example.casper.jnuexperiment2025.Data;

import java.io.Serializable;

public class Book implements Serializable {


    private int _imageResourceId;
    private String _bookname;
    private double _price;


    public Book(String bookname, int imageResourceId, double price)
    {
        _bookname = bookname;
        _imageResourceId = imageResourceId;
        _price = price;
    }

    public String get_bookname() {
        return _bookname;
    }

    public int get_imageResourceId() {
        return _imageResourceId;
    }

    public double get_price() {
        return _price;
    }

    public void setBookname(String bookname){ this._bookname = bookname; }
    public void setPrice(double price){ this._price = price; }

    public void set_imageResourceId(int _imageResourceId) {
        this._imageResourceId = _imageResourceId;
    }

}
